export const PasswordValidRules = () => [
    {
        text: "长度为8-20位",
        regexp: /^.{8,20}$/g,
        status: "error",
    },
    {
        text: "至少包含以下3种类型",
        status: "error",
        min: 3,
        children: [
            {
                text: "大写字母",
                regexp: /[A-Z]/g,
                status: "error",
            },
            {
                text: "小写字母",
                regexp: /[a-z]/g,
                status: "error",
            },
            {
                text: "数字",
                regexp: /\d/g,
                status: "error",
            },
            {
                text: "特殊符号~!@#$%^&*?-_",
                regexp: /[\~\!\@\#\$\%\^\&\*\?\-\_]/g,
                status: "error",
            },
        ],
    },
];
